package com.xwj.exception.demo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author: xiaowajiang
 * @Date: 2022-03-13 15:13
 * @Description: 学生实体
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "StudentDTO", description = "学生")
public class StudentDTO implements Serializable {
    private static final long serialVersionUID = -2126505372397894307L;

    // 姓名
    @ApiModelProperty(value = "姓名", required = true)
    private String name;

    // 电话
    @ApiModelProperty(value = "电话", required = true)
    private String phone;

}
